#!/bin/env bash
grep -nr '\-Werror' ../ --exclude-dir=patches/ | grep Makefile | awk -F ':' '{print $1}' | xargs sed -i 's/-Werror//'
cd ../

patch -p1 < patches/ascend_intf_report_process_status.patch
patch -p1 < patches/get_eventinfo_from_config.patch

cd -
